package com.cskaoyan.service;

import com.cskaoyan.domain.MarketCollect;

import java.util.List;

public interface CollectionService {
    int hasCollected(Integer id);

    List<MarketCollect> selectCollectionByUserId(int userId);

    MarketCollect selectCollectionByValueId(int valueId);

    void insertGoodIntoCollection(MarketCollect marketCollect);

    void deleteCollectionOFGood(Integer valueId);
}
